package com.puhui.education.fragment.course;

import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.puhui.education.R;
import com.puhui.education.fragment.BaseFrag;

/**
 * Created by Administrator on 2016/6/11.
 */
public class CourseCatalogFrag extends BaseFrag {
    private View view;
    private Activity activity;
    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        if(view==null){
            view=inflater.inflate(R.layout.frag_course_catalog, null);
        }
        initData();
        return view;
    }

    @Override
    public void onAttach(Context context) {
        super.onAttach(context);
        activity = (Activity) context;
    }

    @Override
    protected void initData() {
        super.initData();
    }
}
